package com.lgc.consumer01.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @param
 * @author lvguangchun
 * @create 2022-08-24 9:42
 */
@FeignClient("provider1")
public interface FeignService {
    @RequestMapping("/info")
    String getInfo();

    @RequestMapping("/staff")
    List getStaff();
}
